package com.hkfn.rfb.common.bean.chart;

import com.hkfn.rfb.common.bean.BaseModel;

import java.util.List;

import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = true)
public class ChartModel extends BaseModel {
    private String chartTitle;
    private List<Float> xAxisValues;
    private List<LineModel> lineModels;

    public void testContent(){
//        if (StringUtils.isEmpty(chartTitle)) {
//            chartTitle = "TEST";
//        }
//        xAxisValues = new ArrayList<>();
//        for (int i = 0; i < 48; i++) {
//            xAxisValues.add((float) i);
//        }
//        lineModels = new ArrayList<>();
//        LineModel lineModel = new LineModel();
//        lineModel.testContent(chartTitle);
//        lineModels.add(lineModel);
    }
}
